package com.yanyilu.basing.mapper;

import com.yanyilu.basing.entity.UnboxRecord;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Sxx
 * @since 2020-10-26
 */
public interface UnboxRecordMapper extends BaseMapper<UnboxRecord> {

    UnboxRecord selectByUserId(@Param("userId") Integer userId);

    UnboxRecord selectByUserIdAndStatus(@Param("userId")Integer userId, @Param("status")int status);
}
